package org.jsbd.boss.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.dao.IMiguVideoRetentAddConfigDao;
import org.jsbd.boss.domian.BookMark;
import org.jsbd.boss.domian.MiguVideoRetentAddConfig;
import org.jsbd.boss.service.IMiguVideoRetentAddConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("miguVideoRetentAddConfigService")
public class MiguVideoRetentAddConfigServiceImpl implements IMiguVideoRetentAddConfigService {

	@Autowired
	private IMiguVideoRetentAddConfigDao miguVideoRetentAddConfigDao;

	@Override
	public void save(List<MiguVideoRetentAddConfig> list) {
		miguVideoRetentAddConfigDao.save(list);
	}
	
	@Override
	public List<MiguVideoRetentAddConfig> getList(MiguVideoRetentAddConfig miguVideoRetentAddConfig) {
		return miguVideoRetentAddConfigDao.getList(miguVideoRetentAddConfig);
	}

	@Override
	public void delete(List<Integer> ids) {
		miguVideoRetentAddConfigDao.delete(ids);
	}

	@Override
	public void deleteByMiguVideoId(Integer miguVideoId) {
		miguVideoRetentAddConfigDao.deleteByMiguVideoId(miguVideoId);
	}

}
